class Bsy:
    def __init__(self,name,age):
        self.name =name
        self.age =age
    def __del__(self):
        print("销毁程序已启动")
    def __str__(self):
        return "这个办事员叫%s今年%d岁了"
    def banzheng(self,money):
        if money >=1000 and money <=10000:
            print("办理一个普通会员")
        elif money>=10000 and money<=50000:
            print("办理一个中级会员")
        elif money>=50000 and money<100000:
            print("办理一个高级会员")
        elif money>100000:
            print("办理一个终身会员")
        else:
            print("不好意思，您的钱不够，请把钱筹齐再来办理")
b1 =Bsy("王五",28)
money =int(input("请输入办证金额\n"))
b1.banzheng(money)
